const express = require('express');
const handle = require('../router_handle/comment_handle');
const app = express.Router();

// 添加评论(post)
// /comment/add
// userid type(0歌曲 1歌单 2mv) musicid gedanid mvid content create_time
app.post('/add', handle.addComment)

// 删除评论(get)
// /comment/delete
// id
app.get('/delete',handle.deleteComment)

// 通过musicid或gedanid或mvid获取评论
// /comment/get
// type musicid gedanid mvid
app.get('/get',handle.getComment)




module.exports = app